========================================
GSPy: The GoldSim-Python Bridge
Version: 1.8.9
========================================
2026-01-23 18:02:16 - DEBUG: GSPy called with MethodID: 2
2026-01-23 18:02:16 - INFO: Reporting version to GoldSim: 1.8.9
2026-01-23 18:02:16 - DEBUG: GSPy called with MethodID: 3
2026-01-23 18:02:16 - --- Initializing Python Manager ---
2026-01-23 18:02:16 - DEBUG: Reading config file: C:\Users\JasonLillywhite\GoldSim\GTGData - Documents\Library\Software Features\DLLs and Scripts\PythonDLL\gspy\examples\Simple Test\GSPy_314.json
2026-01-23 18:02:16 - DEBUG: Config file opened successfully.
2026-01-23 18:02:16 - DEBUG: Config file parsed successfully.
2026-01-23 18:02:16 - INFO: Config read successfully.
2026-01-23 18:02:16 - INFO: Python interpreter is not initialized. Initializing now...
2026-01-23 18:02:16 - DEBUG: Using python_path from config: C:\Users\JasonLillywhite\AppData\Local\Programs\Python\Python314
2026-01-23 18:02:17 - DEBUG: Initializing NumPy C-API...
2026-01-23 18:02:17 - DEBUG: NumPy C-API initialized successfully.
2026-01-23 18:02:17 - DEBUG: Adding current directory to Python sys.path...
2026-01-23 18:02:17 - DEBUG: Current directory added to path.
2026-01-23 18:02:17 - DEBUG: Script path from config: scalar to scalar.py
2026-01-23 18:02:17 - DEBUG: Function name from config: process_data
2026-01-23 18:02:17 - DEBUG: Attempting to import Python module: scalar to scalar
2026-01-23 18:02:17 - DEBUG: Module imported successfully.
2026-01-23 18:02:17 - DEBUG: Attempting to get function 'process_data' from module...
2026-01-23 18:02:17 - DEBUG: Function found successfully.
2026-01-23 18:02:17 - --- Python Manager initialization successful ---
2026-01-23 18:02:17 - DEBUG: GetNumberOfInputs calculated a total of: 1
2026-01-23 18:02:17 - DEBUG: GetNumberOfOutputs calculated a total of: 1
2026-01-23 18:02:17 - DEBUG: GSPy called with MethodID: 0
2026-01-23 18:02:17 - --- Initializing Python Manager ---
2026-01-23 18:02:17 - INFO: Python interpreter is already initialized.
2026-01-23 18:02:17 - --- Python Manager initialization successful ---
2026-01-23 18:02:17 - DEBUG: GSPy called with MethodID: 1
2026-01-23 18:02:17 - INFO: --- Executing Calculation Cycle ---
2026-01-23 18:02:17 - DEBUG: Preparing 1 input argument(s) for Python.
2026-01-23 18:02:17 - DEBUG:   Input #0: Type='scalar'
2026-01-23 18:02:17 - DEBUG: Calling Python function...
2026-01-23 18:02:17 - WARNING: Input scalar is negative: -0.45. Proceeding with calculation.
2026-01-23 18:02:17 - DEBUG: Python call successful. Processing 1 result(s).
2026-01-23 18:02:17 - DEBUG:   Output #0: Type='scalar'
2026-01-23 18:02:17 - INFO: --- Calculation Cycle Complete ---
2026-01-23 18:02:17 - DEBUG: GSPy called with MethodID: 99
2026-01-23 18:02:17 - INFO: --- Finalizing Python Manager ---
2026-01-23 18:02:17 - INFO: Shutting down Python interpreter.
2026-01-23 18:02:17 - INFO: GSPy session finished successfully
